#pragma once
#include <wx/wx.h>

class text_box
{
public:
	void assign(wxWindow *parent, wxWindowID id, const wxString& value = wxEmptyString, const wxPoint& pos = wxDefaultPosition,
               const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxTextCtrlNameStr,
			   const wxValidator& validator = wxDefaultValidator );
	void name();
	void set_text(const wxString& t);
	text_box(void) : m_tb(0), m_text(0) { }
	void Show(bool ch);

private:
	wxTextCtrl * m_tb;
	wxStaticText * m_text;
};

